package com.wsjj.yjh.mapper;

import com.wsjj.yjh.bean.LinuxShellTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LinuxShellTableMapper {

    @Select("select count(*) as count_linux_shell from linux_shell_table")
    Integer selectCoumt();

    @Select("select * from linux_shell_table where id=#{id}")
    LinuxShellTable selectById(@Param("id") Integer id);
}
